.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 600px;
  padding: 20px;
  margin: auto;
  color: #fff;
  background-color: #1f1f1f;
  border-radius: 20px;
  box-shadow: 0 0 20px rgb(0 0 0 / 40%);
}

/* Style the heading */
.container h1 {
  margin: 10px;
  font-size: 2rem;
  color: #ff6b6b;
  text-shadow: 2px 2px 4px rgb(0 0 0 / 40%);
}

/* Style the container containing dice container */
.dice-container {
  display: flex;
  justify-content: space-around;
}

/* Style the player names */
.player-name {
  display: flex;
  justify-content: space-around;
  width: 520px;
  margin: 0;
  font-size: 32px;
  color: #ff6b6b;
  text-shadow: 2px 2px 4px rgb(0 0 0 / 40%);
}

.player-name p {
  margin-right: 30px;
  margin-left: 30px;
}

.dice {
  display: flex;
  width: 200px;
  height: 200px;
  padding-top: 10px;
  padding-bottom: 10px;
  margin: 30px;
  overflow: hidden;
  background-color: #ce252597;
  border-radius: 10px;
  filter: drop-shadow(2px 2px 4px rgb(0 0 0 / 40%));
  transition: transform 0.3s ease-in-out;
}

/* Style the dots in dice */
.dice span {
  width: 50px;
  height: 50px;
  background-color: #e2e7d9;
  border-radius: 50%;
}

.dice .col-1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 33.33%;
  height: 100%;
}

.dice .col-2 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 33.33%;
  height: 100%;
}

.dice .col-3 {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  justify-content: space-between;
  width: 33.33%;
  height: 100%;
}

.dice:hover {
  transform: rotate(180deg) scale(1.1);
}

.play {
  padding: 5px 20px;
  margin: 20px;
  font-size: medium;
  background-color: #ff6b6b;
  border: none;
  border-radius: 5px;
}

.play:hover {
  cursor: pointer;
  background-color: #ff5151;
}
